package lt.vu.mif.os.processors;

import lt.vu.mif.os.codereader.CodeReader;
import lt.vu.mif.os.provider.Constants;
import lt.vu.mif.os.memory.UserMemory;
import java.util.Stack;
/**
*
* @author Antanas Rudaitis
* @author Laurynas Paradauskas
* @author Algirdas Šaltupis
* 
*/
public class RealMachineProcessor implements Constants {

    //Registers
    public RealMachineRegisters registers = new RealMachineRegisters();
    public static UserMemory userMemory = new UserMemory();
    public Stack<Object> stack = new Stack<Object>();
    //SupervizorMemory = new SupervizorMemory();   gal nereiks sito
    
    public RealMachineProcessor() {
    	
    }
    //Memory
    
    public void startVirtualMachine(String f) {
    	//new CodeReader(f);
    //	VirtualMachineProcessor VM = new VirtualMachineProcessor();
    }


    public void excludeMemCells() {
    	//char[] page = this.registers.getPtr();
    	//int pageNumber = page[2] * 10 + page[3];
    }
    public void excludeVMCodeCells() {
    	
    }
    public void excludeVMDataCells() {
    	
    }
    //Devices
    //public InputDevice input = new InputDevice();
    //public OutputDevice output = new OutputDevice();
}
